<?php
require_once("../lib/DbWrapper.class.php");
require("../libs/Smarty.class.php");
$smarty = new Smarty;

DbWrapper::dbChoice();

//クエリを送信する
$id = $_GET["id"];
//物理削除
//$sql = "DELETE FROM member WHERE id ='".$id."'";
//論理削除
$sql = "UPDATE member
        SET delete_yn = 'y'
        WHERE id ='".$id."'";
mysql_query($sql);

$smarty->display("member_delete.tpl");